package com.lin.manager.oss.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author linjiang
 * @date 2024/7/26
 * @fn
 */
@Getter
@AllArgsConstructor
public enum OssEnum {
    FILE_FAIL_UPLOAD(20001, "文件上传失败!"),
    FILE_FAIL_BUCKET_NOT_EXIST(20002, "文件桶不存在！"),
    FILE_FAIL_OBJECTNAME_NOT_EXIST(20003, "未知的上传文件位置！"),
    FILE_FAIL_DOWNLOAD(20004, "文件下载失败！"),
    ;

    private Integer code;
    private String desc;

}
